home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / SUPERPD.PAK / ABOUTBOX.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  95 lines

  1. // aboutbox.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13.  
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CBigIcon window
  17.  
  18. class CBigIcon : public CButton
  19. {
  20. // Attributes
  21. public:
  22.  
  23. // Operations
  24. public:
  25.     void SizeToContent();
  26.  
  27. // Implementation
  28. protected:
  29.     virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  30.  
  31.     //{{AFX_MSG(CBigIcon)
  32.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  33.     //}}AFX_MSG
  34.     DECLARE_MESSAGE_MAP()
  35. };
  36.  
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CAboutBox dialog
  39.  
  40. class CAboutBox : public CDialog
  41. {
  42. // Construction
  43. public:
  44.     CAboutBox(CWnd* pParent = NULL);    // standard constructor
  45.  
  46. // Dialog Data
  47.     //{{AFX_DATA(CAboutBox)
  48.     enum { IDD = IDD_ABOUTBOX };
  49.         // NOTE: the ClassWizard will add data members here
  50.     //}}AFX_DATA
  51.  
  52. // Implementation
  53. protected:
  54.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  55.  
  56.     CBigIcon m_icon; // self-draw button
  57.  
  58.     // Generated message map functions
  59.     //{{AFX_MSG(CAboutBox)
  60.     virtual BOOL OnInitDialog();
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66. // CSplashWnd dialog
  67.  
  68. class CSplashWnd : public CDialog
  69. {
  70. // Construction
  71. public:
  72.     BOOL Create(CWnd* pParent);
  73.  
  74. // Dialog Data
  75.     //{{AFX_DATA(CSplashWnd)
  76.     enum { IDD = IDD_SPLASH };
  77.         // NOTE: the ClassWizard will add data members here
  78.     //}}AFX_DATA
  79.  
  80. // Implementation
  81. protected:
  82.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  83.  
  84.     CBigIcon m_icon; // self-draw button
  85.     CFont m_font;   // light version of dialog font
  86.  
  87.     // Generated message map functions
  88.     //{{AFX_MSG(CSplashWnd)
  89.     virtual BOOL OnInitDialog();
  90.     //}}AFX_MSG
  91.     DECLARE_MESSAGE_MAP()
  92. };
  93.  
  94. /////////////////////////////////////////////////////////////////////////////
  95.